package com.project.light.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Table(name = "B_Permission")
public class Permission implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "id")
    private Integer id;

    /**
     * 权限id
     */
    @Column(name = "PermissionID")
    private String permissionID;

    /**
     * 权限名称
     */
    @Column(name = "PermissionName")
    private String permissionName;

    /**
     * 模块名称
     */
    @Column(name = "ModuleName")
    private String moduleName;
}
